<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<jsp:include page="/WEB-INF/jspf/header.jsp">
    <jsp:param name="title" value="Main Customer" />
</jsp:include>

<f:view>
    <h:form >
        <h:outputText rendered="#{customer.initCustomerDetails}"/>
        <%@include file="/WEB-INF/jspf/menu_customer.jspf" %>

        <h2>Customer Details</h2>
        <h:panelGrid columns="2">
            <h:outputText value="FirstName:"/>
            <h:outputText value="#{customer.firstName}" title="FirstName" />
            <h:outputText value="LastName:"/>
            <h:outputText value="#{customer.lastName}" title="LastName" />
            <h:outputText value="Login:"/>
            <h:outputText value="#{customer.login}" title="Login" />
            <h:outputText value="Id:"/>
            <h:outputText value="#{customer.customerId}" title="Id" />
            <h:outputText value="Limit"/>
            <h:outputText value="#{customer.limit} #{customer.currencyLimit} " title="Id" /> 


        </h:panelGrid>
    </h:form>
    </body>
    </html>
</f:view>
